package com.pqtest.api.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotEmpty;

@Getter
@Setter
public class AccountEntity extends UserEntity {
    @NotEmpty(message = "账号不能为空")
    private String name;
    @NotEmpty(message = "密码不能为空")
    private String password;
    private String salt;
    private Integer type;
}
